/// <reference types="node" />
import { createApp } from 'vue'
import App from './App.vue'
import chuLib from '@/static/plugins/chuLib'
import ElementPlus, { ElMessage } from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import router from '@/static/config/routers'
import store from '@/static/store/store'
import '@/static/config/axiosConfig'
import vueContextMenu from 'vue3-contextmenu'

const app = createApp(App)
app.use(chuLib, { store, router })
app.use(vueContextMenu)
app.use(ElementPlus)
app.use(router)
app.use(store)
app.provide('$message', ElMessage)
app.mount('#app')

export default router.getRoutes()
